package com.hengtiansoft.lfy.db.been;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * @ClassName: OneMobileDB
 * @Description: 同机传译数据
 * @author caijiajun
 * @date 2015年10月30日 下午4:19:14
 * 
 */
@DatabaseTable(tableName = "OneMobileDB")
public class OneMobileDB {
    @DatabaseField(generatedId = true)
    int id;
    @DatabaseField
    String text; // 翻译前的文本
    @DatabaseField
    String translation; // 翻译后的文本
    @DatabaseField
    String username; // 提交者id
    @DatabaseField
    String direction; // 输入者，确定显示的demo
    @DatabaseField
    String voiceurl; //原音播放地址
    public String getVoiceurl() {
        return voiceurl;
    }

    public void setVoiceurl(String voiceurl) {
        this.voiceurl = voiceurl;
    }


    public OneMobileDB() {
    }

    public OneMobileDB(String text, String translation, String username,
                       String direction,String voiceurl) {
        this.text = text;
        this.translation = translation;
        this.username = username;
        this.direction = direction;
        this.voiceurl=voiceurl;
    }

    public int getId() {
        return this.id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getText() {
        return this.text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getTranslation() {
        return this.translation;
    }

    public void setTranslation(String translation) {
        this.translation = translation;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getDirection() {
        return this.direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

}
